﻿/******************************************************   
创建者: 梁家健
创建时间: 2017-04-24
修改:
修改时间: 
功能: 企划结果汇总实体
 ******************************************************/

using com.nm.Attributes;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace PlanAPI.model
{
    public class PLItemSkcForPCModel
    {
        /// <summary>
        /// 企划结果汇总实体
        /// </summary>
        /// Writer：梁家健
        /// Create Date：2017-04-24
        public class CreatModel : NeceModel
        {
            [ParamDescription("公司代码")]
            public string CompanyID { get; set; }
            [ParamDescription("备注")]
            public string Remark { get; set; }
            [ParamDescription("审核状态")]
            public long? CheckState { get; set; }
            [ParamDescription("审核人")]
            public string Checker { get; set; }
            [ParamDescription("修改时间")]
            public DateTime? MofifyDTM { get; set; }
            [ParamDescription("新增记录标记")]
            public long? AddFlag { get; set; }
            [ParamDescription("读取时间")]
            public DateTime? LoadTime { get; set; }
            [ParamDescription("修改时间")]
            public DateTime? EtlDate { get; set; }
        }

        /// <summary>
        /// 企划结果汇总店铺实体
        /// </summary>
        /// Writer：梁家健
        /// Create Date：2017-04-24
        public class ShopModel
        {
            [ParamDescription("年份")]
            public long? Yearv { get; set; }
            [ParamDescription("月份")]
            public long? Monthv { get; set; }
            [ParamDescription("零售分区")]
            public string ParentAreaID { get; set; }
            [ParamDescription("店铺ID")]
            public string ShopID { get; set; }
        }

        /// <summary>
        /// 企划结果汇总店铺显示实体
        /// </summary>
        /// Writer：梁家健
        /// Create Date：2017-04-24
        public class ShopListModel:ShopModel
        {
            [ParamDescription("店铺")]
            public string ShopName { get; set; }
            [ParamDescription("店铺Code")]
            public string ShopCode { get; set; }
            [ParamDescription("企划金额")]
            public decimal? SumPrice { get; set; }
            [ParamDescription("SKC汇总")]
            public long? SumSKC { get; set; }
            [ParamDescription("零售分区")]
            public string ParentAreaName { get; set; }
        }

        /// <summary>
        /// 企划结果汇总主要实体
        /// </summary>
        /// Writer：梁家健
        /// Create Date：2017-04-24
        public class NeceModel: ShopModel
        {
            [ParamDescription("周")]
            public long? Weekv { get; set; }
            [ParamDescription("价格/颜色标识")]
            public long? PriceOrColor { get; set; }
            [ParamDescription("类别")]
            public string KindID { get; set; }
            [ParamDescription("系列")]
            public string SeriesID { get; set; }
            [ParamDescription("商品层")]
            public string MaterialProperty { get; set; }
            [ParamDescription("品类")]
            public string ModelID { get; set; }
            [ParamDescription("小品类")]
            public string ItemID { get; set; }
            [ParamDescription("深度")]
            public long? DeepQty { get; set; }
            [ParamDescription("确认SKC数")]
            public long? CkSKCQty { get; set; }
            [ParamDescription("前N周合计数")]
            public long? TotalQty { get; set; }
            [ParamDescription("价格带/颜色")]
            public string PriceColorName { get; set; }
            [ParamDescription("价格带占比")]
            public decimal? CkPtStandAmountRate { get; set; }
            [ParamDescription("计算SKC数（两位小数）")]
            public decimal? CalcQty { get; set; }
            [ParamDescription("四舍五入结果(整数)")]
            public long? RoundQty { get; set; }
            [ParamDescription("差额")]
            public decimal? DiffValue { get; set; }
            [ParamDescription("增加或扣减")]
            public long? AddQty { get; set; }
            [ParamDescription("SKC数")]
            public long? PriceColorSKCQty { get; set; }
        }

        /// <summary>
        /// 企划结果汇总显示实体
        /// </summary>
        /// Writer：梁家健
        /// Create Date：2017-04-24
        public class ListModel : NeceModel
        {
            [ParamDescription("零售分区")]
            public string ParentAreaName { get; set; }
            [ParamDescription("店铺")]
            public string ShopName { get; set; }
            [ParamDescription("店铺Code")]
            public string ShopCode { get; set; }
            [ParamDescription("类别")]
            public string KindName { get; set; }
            [ParamDescription("系列")]
            public string SeriesName { get; set; }
            [ParamDescription("品类")]
            public string ModelName { get; set; }
            [ParamDescription("小品类")]
            public string ItemName { get; set; }
            [ParamDescription("企划金额")]
            public decimal? SumPrice { get; set; }
            [ParamDescription("SKC汇总")]
            public long? SumSKC { get; set; }
        }
    }
}
